PDF2BMP is simple utility that converts Adobe Portable Document File (PDF) into Windows Bitmap file (BMP). Copyright (c) 2002, ATAPY Software. All rights reserved. This file is part of Pdf2Bmp. Pdf2Bmp is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Pdf2Bmp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Pdf2Bmp uses GNU Ghostscript 7.05. Portions Copyright (C) 2001 artofcode LLC, All rights reserved. This software is based in part on the work of the Independent JPEG Group. GNU Ghostscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless he says so in writing. Refer to the GNU General Public License for full details. Everyone is granted permission to copy, modify and redistribute GNU Ghostscript, but only under the conditions described in the GNU General Public License. A copy of this license is supposed to have been given to you along with GNU Ghostscript so you can know your rights and responsibilities. It is contained within a file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. Command line syntax: Pdf2Bmp.exe /c:(command) /s:(sourceFileName) /d:(destinationFileName) /p:(page) /f:format /rx:(xRes) /ry:(yRes) command: count|print count - getPageCount print - printPageToFile sourceFileName: source pdf-file name destinationFileName: destination bmp-file name if command == count file consists of the string with number of pages (for example "100") if command == print file is bmp-file page: pagenumber if command == print - number of pages in pdf-file format: output file format if command=print - bmpmono, bmpgray or bmp16m xRes, yRes: resolution if command == print - the resolution of bmp-file Return values: If succeeded the return value is 0. If failed the return value is negative. See pdf2bmp.h for the description of error values. Running: Pdf2Bmp invokes GhostScript without specifying any search path. So executable Pdf2Bmp.exe should be located in GhostScript executable folder. Otherwise GhostScript paths should be set via environment variables. Building Pdf2Bmp project: The source tree of Pdf2Bmp project: Pdf2Bmp.dsp Readme.txt Inc/Pdf2Bmp.h Src/Pdf2Bmp.cpp Src/GS651Wrp.h Src/GS651Wrp.cpp Src/GS705Wrp.h Src/GS705Wrp.cpp Src/GSDLL.h Src/Tools.h Src/Tools.cpp Changes in GhostScript: Some changes were made to the GhostScript 7.05 source code. These changes concern the following GhostScript source files: pdf_font.ps gs_fonts.ps pdf_main.ps See the comments inside these files for the description of particular changes.